{include file='public/head' /}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main">
      <div class="row">
        <div class="col-md-5">
          <h1 class="page-header" style="color:#3399CC">添加公告</h1>
          <form action="{:url('admin/notice/adds')}" method="post" autocomplete="off">
            <div class="form-group">
              <label for="category-name">公告内容</label>
              <!-- 在线编辑区 -->
              <!-- 加载编辑器的容器 -->
              <script id="container" name="content" type="text/plain" style="width:600px;height:300px;">
              </script>
            </div>  
            <div class="form-group">
              <label for="category-alias">是否显示</label>
              <input type="radio" name="show" value="1" checked>是
              <input type="radio" name="show" value="0">否
             </div> 
             <button class="btn btn-primary" type="submit" id="btn">确认</button>
          </form>
        </div>
      </div>
    </div>
  </div>
</section>
</body>
</html>
<!-- 配置文件 -->
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/ueditor.parse.js"></script>
<script type="text/javascript">
window.onload=function(){
     var ue = UE.getEditor('container',{
         elementPathEnabled : false,
         wordCount: false ,
         allowDivTransToP:true,
     });
}
</script>

